package com.atguigu.auth.service;

import com.atguigu.common.result.Result;
import com.atguigu.model.system.SysUser;
import com.atguigu.vo.system.LoginVo;
import com.atguigu.vo.system.SysUserQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface SysUserService extends IService<SysUser> {
    IPage<SysUser> pageQuery(Long page, Long limit, SysUserQueryVo vo);

    void updateStatus(Long id, Integer status);

    Result login(LoginVo loginVo);

    Map<String, Object> getCurrentUser();
}
